<?php
namespace Home\Model;
use Think\Model;

class SubscribeModel extends Model {

    protected $_validate = array (
		array('email','require','This email is already exist in our mailing list.', 1 , unique , Model::MODEL_INSERT),
		array('firstName','require','password required', 1 , 0 , Model::MODEL_INSERT),
		array('lastName','require','phone required', 1 , 0 , Model::MODEL_INSERT),
    );	



    protected $_auto = array (
		array('createTime','time',Model::MODEL_INSERT,'function'),	
	);

}

?>